import schedule
import time
from getOneInfo import getInfo
 
def job():
    getInfo()
schedule.every().day.at("00:00").do(job)
 
while True:
    schedule.run_pending()
    time.sleep(1)